Whedon co-wrote and produced a horror-comedy film titled "The Cabin in the Woods" with director Drew Goddard, finishing production in 2009 though the film wasn't released until 2011. Whedon and Goddard intended to make a film that exemplified horror movies while still preserving the fun and frightening elements necessary to being a horror film. The script was written in three days and they produced a minimum of 15 pages a day. Whedon described it as an attempt to revitalize horror, calling it a "loving hate letter" to the genre, continuing: