During the early stages of production, Carter founded Ten Thirteen Productions and began to plan for filming the pilot in Los Angeles. However, unable to find suitable locations for many scenes, he decided to "go where the good forests are" and moved production to Vancouver. It was soon realized by the production crew that since so much of the first season would require filming on location, rather than on sound stages, a second location manager would be needed. The show remained in Vancouver for the first five seasons; production then shifted to Los Angeles beginning with the sixth season. Duchovny was unhappy over his geographical separation from his wife Téa Leoni, although his discontent was popularly attributed to frustration with Vancouver's persistent rain. Anderson also wanted to return to the United States and Carter relented following the fifth season. The season ended in May 1998 with "The End", the final episode shot in Vancouver and the final episode with the involvement of many of the original crew members, including director and producer R.W. Goodwin and his wife Sheila Larken, who played Margaret Scully and would later return briefly.