around Martin's house. After their attempt to apprehend one of Tanner's men fails, Carter and Daniel's lead takes them to a warehouse filled with government agents. O'Neill and Martin are captured by Tanner (Robert Lewis) and his men, who administer Martin with an antidote to restore his memories. As his memories return, he tells O'Neill that he drugged himself in order to forget everything that had happened to him. The pair are soon freed by Teal'c (Christopher Judge) and Martin realises that he needs to help Tanner's group escape Earth by getting the remote device for their ship. Meanwhile NID Agent Barrett (Peter Flemming), who's men have apprehended Carter and Daniel, tells them that they plan on seizing the space ship, and soon receive a tip as to Martin's whereabouts. With Barrett gone, Carter and Daniel overpower the remaining NID agents and contact O'Neill warning him that the NID are on there way. O'Neill procures the device and Tanner persuades him to relinquish it to they can flee Earth and the NID. Content with his new life, Martin decides to stay on Earth and Tanner and his men teleport to the ship before the NID can get to them. Production Development The initial idea for the story came from series co-creator and executive producer Brad Wright. He imagined the character of Martin Lloyd, who had previously appeared in the season four episode "Point of No Return" as having once again lost his memory, leading him to make a television series like SG-1. According to Wright, the story "was something I would never have done in a million years unless it was the one-hundredth episode". After Wright had outlined the story, writing duo Joseph Mallozzi & Paul Mullie were assigned to pen the script, although they initially thought Wright was joking when he pitched them the story. Wright believed one of the things fans found attractive in Stargate SG-1 was the fact that the show didn't take itself "too seriously". Instead of a typical episode, the writers looked to produce a more comedic story, celebrating the milestone. The 1999 Science fiction comedy film Galaxy Quest enthused Wright and the shows writers to instead craft a story that parodied Stargate SG-1. In developing their script, Mullie found that they had no shortage of jokes, however "The hard part was finding an excuse for the humour to happen". Mullie wanted to ensure the