Original: It was directed by Sam Raimi and written by David Koepp , and stars Tobey Maguire , Willem Dafoe , Kirsten Dunst , and James Franco .
Simplified: It was written by David Koepp and directed by Sam Raimi .