John Hughes wrote the screenplay. He also wrote/directed The Breakfast Club, Ferris Bueller's Day Off, Home Alone, and Planes, Trains & Automobiles.