Paul Henning first wrote June Lockhart, as Doctor Craig, into the script as a temporary replacement for the ill Bea Benaderet. When Ms Benaderet became too sick to continue, Henning signed June Lockhart as a regular but held out her shows till after the death of Ms Benaderet which was imminent.
Bea Benaderet died after episode #6.4 was completed. In the next two episodes (6.5 & 6.6), her appearance and credit in the title sequence was substituted with new still shots of the hotel and Uncle Joe, and the synchronized line in the song that mentions her character Kate Bradley was also substituted with a new line about the hotel, with Uncle Joe's line in the song staying the same. Beginning with episode #6.7, the first show with new regular June Lockhart, and continuing to the end of the show, the title sequence was changed again with a new shot of Uncle Joe getting up and going into the hotel with Edgar Buchanan's new starring credit, substituting for the still shots (where Benaderet's credit used to be), followed by a new shot of Dr. Janet Craig inside the hotel with Lockhart's onscreen credit (where Buchanan's credit used to be), while the song also changed again to a new line about Uncle Joe as the manager of the hotel followed by another new line about the Lady M.D., Lockhart's character.