In 2007, "Spider-Man 4" entered development, with Raimi attached to direct and Maguire, Dunst and other cast members set to reprise their roles. Both a fourth and a fifth film were planned and at one time the idea of shooting the two sequels concurrently was under consideration. However, Raimi stated in March 2009 that only the fourth film was in development at that time and that if there were fifth and sixth films, those two films would actually be a continuation of each other. James Vanderbilt was hired in October 2007 to pen the screenplay after initial reports in January 2007 that Sony Pictures was in contact with David Koepp, who wrote the first "Spider-Man" film. The script was subsequently rewritten by Pulitzer-winning playwright David Lindsay-Abaire in November 2008 and rewritten again by Gary Ross in October 2009. Sony also engaged Vanderbilt to write scripts for "Spider-Man 5" and "Spider-Man 6".