It's definitely not an easy task to develop a great script, as Star Wars: The Rise of Skywalker's director JJ Abrams has admitted that they actually kept changing storylines during the actual filming of Episode 9.

Speaking to New York Times, Abrams discussed the long process of script writing and how they couldn't miss out on adding "better" ideas into the story when they come up with them.

jj abrams
Getty Images

Related: Star Wars' JJ Abrams responds to criticism of The Force Awakens

"As we did on Force Awakens, while we're shooting, we're reconsidering things, changing some significant story points going back to ideas that we had loved but put away," Abrams explained. "That process never stopped.

"Some people can say, oh, that sounds like it's crazy," he continued. "But when you have the better idea, it doesn't matter when it is – you have to try it."

But what's even crazier was the director's recent revelation that the actual movie's script almost got leaked when Finn actor John Boyega left his own copy unattended.

star wars   the rise of skywalker   finn and poe
Disney

"It was given to someone else who then went to sell it on eBay," the director revealed. "And someone at the company said, 'You know, there's a script that looks like it's a legit script that's for sale on eBay'."

Long story short, the script eventually got taken back, with Abrams adding at the time: "With all the security, you have to be careful."

Star Wars: The Rise of Skywalker has a release date of Thursday, December 19 in the UK and Friday, December 20 in the US.

Sign up for Disney+
Disney+ Sign up for Disney+
Shop at Disney+
Star Wars: The Rise of Skywalker
Disney/Lucasfilm Star Wars: The Rise of Skywalker
Credit: Lucasfilm
Star Wars: The Skywalker Saga Complete Box Set [Blu-ray] [2019] [Region Free]
Disney/Lucasfilm Star Wars: The Skywalker Saga Complete Box Set [Blu-ray] [2019] [Region Free]
Star Wars: The Rise of Skywalker (Expanded Edition) by Rae Carson
Century Star Wars: The Rise of Skywalker (Expanded Edition) by Rae Carson
Credit: Century
Star Wars - The Complete Saga (Episodes I-VI) [Blu-ray] [1977] [Region Free]
Disney/Lucasfilm Star Wars - The Complete Saga (Episodes I-VI) [Blu-ray] [1977] [Region Free]
Credit: Lucas FIlm
Star Wars: The Original Trilogy (Episodes IV-VI) [Blu-ray] [1977] [Region Free]
Disney/Lucasfilm Star Wars: The Original Trilogy (Episodes IV-VI) [Blu-ray] [1977] [Region Free]
Credit: Lucas Film
Star Wars: The Force Awakens [Blu-ray] [2015] [Region Free]
Disney/Lucasfilm Star Wars: The Force Awakens [Blu-ray] [2015] [Region Free]
Credit: Lucas Film
Star Wars: The Last Jedi  [4K UHD] [Blu-ray] [2017]
Disney/Lucasfilm Star Wars: The Last Jedi [4K UHD] [Blu-ray] [2017]
Now 10% Off
Credit: Lucas Film
Rogue One: A Star Wars Story [Blu-ray]  [2017] [Region Free]
Disney/Lucasfilm Rogue One: A Star Wars Story [Blu-ray] [2017] [Region Free]
Credit: Lucas FIlm
Solo: A Star Wars Story [4K] [Blu-ray] [2018] [Region Free]
Disney/Lucasfilm Solo: A Star Wars Story [4K] [Blu-ray] [2018] [Region Free]
Now 16% Off
Credit: Lucas Film

Digital Spy now has a newsletter – sign up to get it sent straight to your inbox.

Want up-to-the-minute entertainment news and features? Just hit 'Like' on our Digital Spy Facebook page and 'Follow' on our @digitalspy Instagram and Twitter accounts.

Lettermark
Filiz Mustafa

Filiz Mustafa is a freelance news writer at Digital Spy.