“Planes, Trains and Automobiles” was written by John Hughes , who also produced and directed the film.