While the script is primarily credited to George Wing, Lowell Ganz, Babaloo Mandel, Tim Herlihy, and Allen Covert did uncredited rewrites on it as well. Adam Sandler had also reworked the script, significantly transforming its genre from drama to comedy. Additional changes Sandler made to the script include moving its setting from Seattle to Hawaii and rewriting a decent amount of interior scenes that takes place in a café. Director Peter Segal felt these scenes were "very claustrophobic" as well as derivative of "My Dinner with Andre", encouraging Sandler to rewrite these and move the location to the Kualoa Ranch. Sandler said that shooting in Hawaii "just seemed like the very best possible place to do it for many different reasons. You don't see many movies there, so it was a great experience to film in a different locale. And it is such a spectacularly beautiful place for a romantic comedy."