"before flying off into the sunset.Written by Rob Grant and Doug Naylor, the script was originally titled "The Four Horsemen of the Apocalypse", and then had the working title of "High Midnight"; it was later changed to "Gunmen of the Apocalypse".