Screenwriter Dan McDermott wrote the original script for Eagle Eye based on an idea by Steven Spielberg who had been inspired by Isaac Asimov’s short story “All the Troubles of the World. ” The studio DreamWorks then bought McDermott’s script and set up the project to potentially be directed by Spielberg. When the director became busy with Indiana Jones and the Kingdom of the Crystal Skull, he dropped out of the project. Director D. J. Caruso, who directed the 1996 TV series High Incident under Spielberg’s executive production, replaced the director in helming Eagle Eye, with Spielberg remaining as executive producer. In June 2007, actor LaBeouf who was involved in Spielberg’s and Caruso’s 2007 film Disturbia and Indiana Jones and the Kingdom of the Crystal Skull, re-joined the director and executive producer to star as the lead in Eagle Eye. McDermott’s script was rewritten by screenwriters John Glenn, Travis Wright, and Hillary Seitz in preparation for production. Filming began on November 6, 2007 and wrapped in February 2008. The film’s visual effects were created by Sony Pictures Imageworks.