The screenwriter, who salvaged the 'Star Wars' project, says the situation was so dire, "all you could do was improve their position."

Tony Gilroy is getting candid for the first time about his emergency trip to the Star Wars galaxy. In June 2016, Lucasfilm hired the Oscar-nominated writer to rework Rogue One: A Star Wars Story after the studio was unsatisfied by the state of director Gareth Edwards' movie. By August, he was taking a leading role in postproduction and oversaw reshoots to fix a few issues, including the film's ending. Gilroy ultimately was paid millions for his work, and many consider him the film's ghost director. Gilroy had not spoken publicly about Rogue One until Monday's appearance on The Moment With Brian Koppelman podcast, where he noted that he immediately saw ways to improve the movie when he came on the scene in London.

"If you look at Rogue, all the difficulty with Rogue, all the confusion of it … and all the mess, and in the end when you get in there, it's actually very, very simple to solve," Gilroy said of the film. "Because you sort of go, 'This is a movie where, folks, just look. Everyone is going to die.' So it's a movie about sacrifice." He saw the opportunity to explore why the film's characters — played by stars Felicity Jones, Diego Luna and Donnie Yen — would ultimately sacrifice themselves at the end of the film in order to allow the Rebels to gain the plans to the Death Star. Choosing his words carefully, Gilroy signaled how much of the project was changed after he boarded. (Star Ben Mendelsohn has said "an enormously different" version of the film exists.)