Avengers: Endgame writers Stephen McFeely and Christopher Markus revealed that the arrival of Earth's Mightiest Heroes during the final battle was not only re-written but re-shot as well.

"The first draft looked one way…Some of it’s the same," McFeely told Slash Film. "The ship appears. Kaboom. Creates a new battlefield, that was a big part of it. They get separated. In the first version, they were all together, because we hadn’t quite cracked it."

RELATED: Avengers: Endgame Writer Reveals What Villain He Still Wants in the MCU

"And everyone came back immediately," Markus added. "There wasn’t that cavalry moment. They all came back when [Hulk] snapped. On a storytelling level, it really just killed the momentum of the movie."

"We shot it a couple of times," McFeely continued. "The first time, it was quicker. It was very powerful, and I would say exciting, like, 'Holy crap, they’re back!' And the music was at a 10 early, and you zipped around. I liked it a lot, but Joe and Anthony were absolutely right to reshoot it, because everybody didn’t get their hero shot. Classic old-school Hollywood filmmaking where people step into the shot and the crowd goes, 'That guy’s back!' and you love him for, like, five seconds. That’s what it is now."

Markus and McFeely are responsible for penning a number of films in the Marvel Cinematic Universe, including Captain America: The First Avenger, Thor: The Dark World, Captain America: The Winter Soldier and Avengers: Infinity War.

RELATED: Nova Was a Major Player In the Original Avengers Infinity War/Endgame Story

Directed by Joe and Anthony Russo, Avengers: Endgame stars Robert Downey Jr. as Iron Man, Chris Evans as Captain America, Mark Ruffalo as Bruce Banner, Chris Hemsworth as Thor, Scarlett Johansson as Black Widow, Jeremy Renner as Hawkeye, Brie Larson as Captain Marvel, Paul Rudd as Ant-Man, Don Cheadle as War Machine, Karen Gillan as Nebula, Danai Gurira as Okoye and Bradley Cooper as Rocket, with Gwyneth Paltrow Pepper Potts, Jon Favreau as Happy Hogan, Benedict Wong as Wong, Tessa Thompson as Valkyrie and Josh Brolin as Thanos. The film is now available on Digital HD, Blu-ray and 4K UHD.