According to Variety, Warner Bros. Pictures' longtime plan to bring sitcom classic Get Smart to the bigscreen has cleared two major hurdles, with Peter Segal hired to direct and TV showrunners Tom Astle and Matt Ember brought on to adapt.

Steve Carell already was set to star.

Warners has been trying for several years to make a movie version of the secret-agent series created by Mel Brooks and Buck Henry. Will Ferrell originally was attached to topline, but the project sat idle because of his busy schedule. Carell signed on last year.

Producers are Andrew Lazar for Mad Chance and Mosaic Media Group's Charles Roven and Alex Gartner. Carell, Mosaic's Jimmy Miller and Callahan Filmworks' Michael Ewing and Segal are exec producing.

Warner Bros. Pictures' Greg Silverman and Geoff Shaevitz are overseeing for the studio.

Segal (50 First Dates, Anger Management) most recently helmed The Longest Yard for Paramount Pictures and Sony. The Adam Sandler starrer grossed more than $158 million in the U.S.