But in the original draft of the script, the movie ended with the wormhole collapsing. The intent was to have McConaughey's character sacrifice himself without knowing if the data got through in time.
Some story elements and scenes just don't make it to the silver screen. Check out these plot points from major releases that were left on the cutting room floor.
Terminator 3: Rise of the Machines, which hit cinemas in 2003, is included on this revealing list of movies which had major scenes cut from the final edit.
The scene that was axed answered one vital question: why did the T-800 killing machine look like an Austrian bodybuilder?
The scene, which showed Arnold Schwarzenegger speaking in a weird American accent, explained that the face of Chief Master Sergeant William Candy, played by Schwarzenegger, was scanned on to the robot, but its Austrian accented voice was provided by a corporate executive working on the Terminator project.
Depressing ending avoided?
At the climax of Christopher Nolan's 2014 hit Interstellar, lone astronaut Cooper, played by Matthew McConaughey, enters a black hole and emerges in fifth-dimensional space where he tries to send vital information to his daughter and exit through a wormhole.
Less profound and poignant perhaps, but Seth Rogan and James Franco's characters were also originally meant to die at the end of 2008's Pineapple Express. The dope-smoking slackers were originally filmed being machine-gunned down in the prime before a plot change revealed them as crime-cracking heroes.