 Only Koch was with the project during filming, when he continued to write new dialogue and scenes.The title was changed to "Casablanca".The inclusion of "As Time Goes By" came from Burnett and Alison's play.