Walsh was friends with then up-and-coming filmmaker Steven Spielberg and they worked on the script for nine months. The director was fascinated by the characters and would react to Walsh's script, offering suggestions.