 Cameron's work became the basis of David Koepp's first draft screenplay, often word for word.Cameron's versions of the Marvel villains Electro and Sandman remained the antagonists.Koepp's rewrite substituted the Green Goblin as the main antagonist and added Doctor Octopus as the secondary antagonist.