Star Trek Beyond has also been shaped by fans of the movie, according to Simon Pegg.

Pegg, who is the prime writer of the film, recently spoke to Coming Soon about the movie. He revealed that fans of the movie actually contributed in the writing of it. Memory Alpha, the Wiki page for the Star Trek series, was a well of ideas for the crew of writers for Star Trek Beyond.

"We had the entirety of Star Trek history at our disposal and it's always there online," he said. "There's an amazing Wikipedia online called Memory Alpha. It became Doug [Jung] and my resource, and the place that we'd turn to whenever we wanted to know, 'What kind of weapons does an NX vessel carry?' Memory Alpha has it. We actually wrote to the Memory Alpha guys and got them to name a certain device in the movie. I sent them a letter saying, 'Can you come up with this for me?' In two hours, they came back with an entire etymological history of what the thing was. It's beautiful. It's fantastic to have that support network."

In March, the first look at Simon Pegg, who plays Commander Montgomery Scott, was revealed. In the image he is seen with newcomer Sofia Boutella, who plays the part of an alien named Jaylah.

The still was unveiled via Paramount. Pegg is seen wearing the classic Star Trek uniform and looking stunned looking up at something with the exquisite Jaylah.

Star Trek Beyond is the third entry in the rebooted sci-fi franchise, which already includes Star Trek (2009) and Star Trek: Into the Darkness (2013). The first two were helmed by J.J. Abrams, who's now busy heading up the Star Wars sequels, so this one is directed by Fast & Furious reviver Justin Lin with the familiar crew of Kirk (Chris Pine), Spock (Zachary Quinto), Bones (Karl Urban), Scotty (Simon Pegg), Uhura (Zoe Saldana), Sulu (John Cho) and Chekov (Anton Yelchin) all set to return.

Watch the trailer: