Credit: Chris Pizzello/Invision/AP

Diablo Cody is set to rewrite Sony’s live-action Barbie, a film based on Mattel’s famous fashion doll.

The studio made a deal for the film with Mattel and Parkes+MacDonald/Image Nation a while ago, after which Jenny Bicks penned the first draft. EW confirmed Cody is now involved with the project. Deadline first reported the news.

Producer Walter Parkes told Deadline that Cody, the Oscar-winning screenwriter of Juno and previous stripper, was perfect for the project.

“Diablo’s unconventionality is just what Barbie needs,” he said. “It signals we’re going for a legitimately contemporary tone. We’re bringing her on because she had great ideas, but even more importantly, she truly loves Barbie.”