 Stoff approached writer Dante Harper and sent him a copy of the novel.Harper found the book "too complex" to properly adapt, but, despite the prospect of not getting paid, he chose to "risk it" and accepted the job, taking eight months to write the script.Upon completion, Warner Bros. purchased it in a deal in April 2010.