Glassner and Brad Wright - who worked on science fiction series The Outer Limits together, both individually perused the project. At the time, Glassner who was living and working out of Vancouver, Canada, was keen to move back home to Los Angeles in the United States. Keen to keep Glassner with MGM in Vancouver, Glassner told them that he would only stay if they gave him Stargate. Some weeks later, Glassner and Wright were paired to develop the series together. Pitching to MGM and Showtime, they imagined the Stargate being run in a similar way to the NASA program, with teams going out and exploring. Keen to avoid comparisons to Star Trek, Stargate was set in the present day, not the future, with the teams going through the gate being outgunned and outmatched by the other races they encounter. As part of developing both the series and writing the first episode, Glassner and Wright spent three months studying the original feature film, as well as any books, notes and scripts they could acquire to help them in developing the universe which their show would inhabit. Upset that MGM were developing a series and not sequels to their film, the original creators of the film Dean Devlin and Roland Emmerich were unwilling to talk to Glassner and Wright. Glassner and Wright completed their first draft of the pilot on October 18, 1996. Whilst many elements remain the same or similar in the completed script, the earlier draft had a number of key differences. Dr. Samantha Clayman, who was later re-imagined as Captain Samantha Carter, was penned by the duo as a theoretical astrophysicist, with a disdain for the military despite being a Lieutenant in the U.S. Air Force. The more abrasively imagined character also didn't warm to the other characters, including Dr. Jackson. Continuing the feature film's use of Ancient Egyptian deities, Apep, the serpent "Lord of Chaos" was imagined as the pilot's antagonist before settling on his alternative name of Apophis. The early draft had Apep cradling the Goa'uld symbiote from a fallen soldier, whilst his world of Chulak was conceived as being covered in snow. The Stargate Facility on Earth also had some differences, with Glassner and Wright imagining giant concrete doors shutting in-front of the gate to stop unwanted visitors. Towards the pilot's climax, a Goa'uld symbiote attaches itself to a member of SG2, Corporal Warren, making its