Dylan O’Brien's got one hell of a score to settle in a forthcoming feature film role.

The Teen Wolf actor has been cast as the lead in American Assassin, based on the novel by the late Vince Flynn, according to The Hollywood ReporterThe site says CBS films sought out O'Brien for the role for months, but the actor's availability came into question after a nasty accident on the Maze Runner set sent him in the hospital. Now the film, which also stars Michael Keaton, appears to be back on schedule.

Flynn's story follows Mitch Rapp (O'Brien's character), a Syracuse University student who's torn apart when Pan Am Flight 103 — on which his girlfriend is a passenger — explodes at the hands of terrorists. Rapp vows to exact justice on those responsible, and the eventual CIA agent spends six months training for an eventual mission to keep Islamic terrorists at bay and protect American citizens from future attacks. A Barnes & Noble overview says Rapp leaves "a trail of bodies from Istanbul and across Europe, to Beirut," which, yikes.

Stephen Schiff, who wrote Lolita and True Crime, will pen the script while Homeland's Michael Cuesta will direct.

In a TMZ video posted last Wednesday (May 4), O'Brien's Maze Runner co-star Dexter Darden said the actor's recovering well after a March 17 accident on-set that involved glitches with equipment.

"He’s dashingly good-looking," Darden assured a reporter. "He looks fine."

How do you think O'Brien will do in the new role? Sound off in the comments.

Check Out a Collection of Actors Who Said They Nearly Died on Set:

More From PopCrush