 They were inspired by a "Frontline" documentary about how changes to the federal drug policy of the United States encouraged the incarcerated to snitch on their accomplices.Justin Haythe wrote the initial screenplay, and Waugh was hired to rewrite it.In March 2011, actor Dwayne Johnson was cast in the film's starring role.