Even though the episode aired during the beginning of the fifth season, it was produced by the fourth season's crew. A large part of the original crew left the show after season four. This led to the addition of several scenes that normally would not have been considered because the departing crew's mentality was, "what are they going to do, get us fired?" Although most of the episode was completed by the staff of season four, the end was rewritten by the team of season five.