The screenplay was written by journalist and humorist William Weintraub, as an adaptation of his own comic novel. Notably, he dropped the novel's most famous scene, which took place in a nudist colony, due to concerns that the scene would cause problems for the film's content rating."A movie with a history of false starts, but a happy ending". The Globe and Mail, October 12, 1974.
