had been looking for a unique holodeck story that would be specifically for Deep Space Nine rather than Sherlock Holmes and Dixon Hill detective stories seen in The Next Generation. Whilst Bashir and O'Brien's adventures in the holosuites in the Battle of Britain and the Battle of Clontarf have been mentioned in episodes, they were simply too expensive to be shown on screen effectively. But Behr felt that the story for "Our Man Bashir" was within the budget of the show. The story was initially pitched to Echevarria by Robert Gillan, who was on the staff of Deep Space Nine as Assistant Script Coordinator. Echevarria was immediately convinced, and told Behr about the story who was equally as enthusiastic. In Gillan's original pitch, there wasn't a specific setting clearly set out, but Behr and Echevarria were sold on the idea that nothing went wrong with the holosuites — it was simply where the computer decided to store the information following a transporter accident. Producer Ronald D. Moore came up with the 1960s setting, as he felt it was appropriate since Garak was a spy for the Cardassian Obsidian Order. He wrote the teleplay, and based it on a variety of sources including James Bond, Our Man Flint, The Man from U.N.C.L.E., and The Wild Wild West. He later explained that he "loved all of them as a kid. They had a certain panache. I loved writing that episode." Some of the elements were suggested by other staff members, with Robert Wolfe naming Colonel Anastasia Komananov and Behr changing Suzie Luvsitt to Mona Luvsitt. Metro-Goldwyn-Mayer was later not pleased with the James Bond-style approach, and when Bashir's spy program appeared in the later episode "A Simple Investigation", the references were more generic. Dennis Madalone managed to save some time during the production as one of the shots involved Bashir seeing Falcon approach him from behind by seeing his reflection in a bottle of champagne. After time was already scheduled to attempt the shot, Madalone explained to the director that he could take the filmed sequence and digitally manipulate it onto the bottle. Madalone was also responsible for firing a cork from a bottle at Colm Meaney's head from off screen to make it appear as if Bashir did it, and managed to do it on the first take. "Our Man Bashir" was the longest shoot of any single episode of Deep