Originally developed as an independent feature and given film festival screenings in 2007, the film was acquired by Paramount Pictures and modified, particularly with a new ending. It was given a limited U. S. release on September 25, 2009, and then a nationwide release on October 16, 2009. The film earned nearly $108 million at the U. S. box office and a further $85 million internationally for a worldwide total of $193 million. Paramount/DreamWorks acquired the U. S. rights for $350,000. It is the most profitable film ever made, based on return on investment, although such figures are difficult to verify independently as this is likely to exclude marketing costs.