 Rosenberg gave Kahn one day to write a treatment, which Kahn finished in 45 minutes.He filmed Eminem's and Rihanna's parts on July 20, 2010; scenes with Fox and Monaghan were shot three days later.By July 24, 2010, they finished the shoot.