Dylan O’Brien is getting back on track. Despite injuries halting production of “Maze Runner: The Death Cure,” the actor is still focusing on work. He is in talks to star in a new spy film.

“American Assassin” is planned as an action movie based on the Mitch Rapp novels written by Vince Flynn. O’Brien may play Rapp, a CIA counterterrorism agent, Entertainment Weekly reported. Michael Keaton is already signed to play Stan Hurley, the veteran who trains Rapp.

If the film is successful, it could launch a new movie franchise. The now-deceased Flynn wrote more than a dozen books about Rapp, so there is plenty of source material. However, O’Brien first would have to finish up work on his current project.

The actor was injured in March while filming “Maze Runner: The Death Cure” in Vancouver, British Columbia. There are conflicting reports about how the 24-year-old O’Brien got hurt, but a WorkSafeBC report (via the Hollywood Reporter) revealed he suffered a “concussion, facial fracture and lacerations.”

The “Teen Wolf” actor’s injuries caused production on the third installment of the “Maze Runner” series to be shut down. He was due to return to work May 9, but Twentieth Century Fox extended the hiatus of the production. “The resumption of principal photography on ‘Maze Runner: The Death Cure’ has been further delayed to allow Dylan O’Brien more time to fully recover from his injuries,” Fox said in a statement. “We wish Dylan a speedy recovery and look forward to restarting production as soon as possible.”

It isn’t clear when “Maze Runner: The Death Cure” will be back in production, but it possibly won’t make its anticipated release date of next Feb. 17, especially in the event the cast and crew can’t return to the set soon.

If O’Brien were to play the Rapp role in “American Assassin,” he’d be scheduled to begin filming this summer.