The original idea was written by Jeffrey Reddick as a spec script for "The X-Files" in order to get a TV agent. "I was actually flying home to Kentucky and I read a story about a woman who was on vacation and her mom called her and said, 'Don't take the flight tomorrow, I have a really bad feeling about it.' She switched flights and the plane that she would have been on crashed," said Reddick. "I thought, that's creepy—what if she was supposed to die on that flight?" Building on his idea, Reddick wrote a script and got an agent, but instead of submitting the script to "The X-Files", he acted on the suggestion of a colleague at New Line Cinema to write it as a feature film.