Context of G.I. Joe, The rise of Cobra,, Paramount Pictures and Spyglass Entertainment presents in association with Hasbro a di Bonaventura Pictures production ; produced by Lorenzo di Bonaventura, Bob Ducsay, Brian Goldner ; story by Michael B. Gordon and Stuart Beattie & Stephen Sommers ; screenplay by Stuart Beattie and David Elliot & Paul Lovett ; directed by Stephen Sommers