manages to knock Lore onto the transporter platform, and Wesley activates it, beaming Lore into space. With its conspirator no longer aboard, the crystalline entity departs, and the Enterprise resumes its journey to the starbase. Production The original story for this episode featured a non-lookalike female android who was intended to be a love interest for Data. The new android was intended to have been created as something that could be deployed into dangerous or hazardous situations, described in the premise as something along the lines of a female android version of Red Adair, the fire fighter. The "evil twin" story was suggested by Brent Spiner, instead, and was originally developed to include the creation of Data by an alien race. This was instead dropped and Dr. Noonien Soong was introduced. Soong was named by Gene Roddenberry after his Second World War friend, Kim Noonien Singh, for whom the character Khan Noonien Singh was also named. It would be Roddenberry's final script credit on a Star Trek series. The script made mention of Isaac Asimov and the Laws of Robotics, something which had been suggested should be included at some point in the show as a spoken credit in a memo dated October 28, 1986 from executive producer Bob Justman. The episode suffered delays during pre-production caused by re-writes to the script, resulting in the script being switched with "The Big Goodbye", which meant that director Joseph L. Scanlan went on to direct that episode instead. Rob Bowman, who had previously been told by Justman that he was going to direct "The Big Goodbye" after his work on "Too Short a Season", was instead assigned to direct "Datalore". He took the new episode on as a challenge, in the belief that the producers did not think the episode would work well, which caused him to become determined to put out a good episode. He had numerous discussions with Brent Spiner, Justman, and Rick Berman on aspects of the episode, and the technical requirements and effects required an additional day of filming. Bowman credited Spiner for making the episode work, giving one example, "He did the one scene in his own office with Brent sitting down and Lore discussing what it's like to be human. He did one side, we shot through a double, then turned around, read it the other way and shot the other half of it. Those two