Another deal for screenwriter Diablo Cody