Production of the film began in January 2006. Several visual effect companies were used to provide CGI for the numerous animals and the climactic flood scene. The main plot is a modern-day retelling of Noah's Ark. By the time the film had completed production, it had become the most expensive comedy film ever (this record was later overtaken by Men in Black 3). In October 2007, the film was released on DVD and HD DVD.