The Star Trek 3 script is nearing completion. Read what co-writer Simon Pegg can tease about it here!

Aside from resuming his role as Scott in Star Trek 3, Simon Pegg has also taken on co-writing duties. He and Doug Jung are currently working hard to finish the script, which Pegg tells Collider has to be completed by June.

On how he got the co-writing gig, Pegg says, “Me and Bryan Burk, who’s one of the producers at Bad Robot, have worked together on a bunch of stuff. We were sitting around, talking about the direction the next film was gonna go in. They were thinking, ‘Maybe we should go back to the drawing board, a little bit, with the screenplay.’ Bryan and I would just sit around and talk, and we’d get excited. And then, Bryan was like, ‘Do you want to write it then?'”

Pegg considers writing the movie “a big responsibility,” and admits, “it’s terrifying.”

Related: Star Trek 3 will be helmed by Fast & Furious 6 director Justin Lin

“I love those guys,” he says. “I want to do right by them, so I felt like I should man up and do it.”

Pegg is not the only newcomer to the production staff, with Justin Lin taking over from J.J. Abrams as director. On taking control over such an iconic franchise, Pegg says, “I have to abide by certain rules and do right by the original series, and not be too post-modern with it and not be too aware of itself. I have to try to take on the spirit of the show, rather than fill it with stuff that people will just go, ‘Oh, yeah, that’s from episode something or other.’ It’s more than that.”

Star Trek 3 is set to be released next year. Pegg’s new movie, Kill Me Three Times, is out on April 10.