Question: Which writer of the Dr. Who episode "The Pyramid at the End of the World" also serves as the executive producer of the series?
Context: The tenth series of the British science fiction television programme "Doctor Who" premiered on 15 April 2017 and concluded on 1 July 2017, and consisted of twelve episodes, after it was announced in July 2015 that BBC Worldwide had invested in a tenth series of the programme in its annual review.  The series is led by head writer and executive producer Steven Moffat, alongside executive producer Brian Minchin.  It is the third and final series overseen by the two as executive producers, as well as Moffat's sixth and final series as head writer.  This series is the tenth to air following the programme's revival in 2005, and is the thirty-sixth season overall. "The Beginning of the End" is the fourth season premiere, and 73rd episode overall, of the American Broadcasting Company's television drama series "Lost".  It was aired on ABC in the United States and CTV in Canada on January 31, 2008.  Co-creator/executive producer Damon Lindelof and executive producer Carlton Cuse wrote the premiere in late July 2007, with most of the episode directed on location in Oahu, Hawaii, in August and September by executive producer Jack Bender.  With this premiere, Jeff Pinkner no longer serves as an executive producer and staff writer.  The episode was watched by 18 million Americans, bringing in the best ratings for "Lost" in 17 episodes.  According to Metacritic, "The Beginning of the End" garnered "universal acclaim". Prime Suspect was an American police procedural television drama series that aired on NBC from September 22, 2011 to January 22, 2012.  It stars Maria Bello as Detective Jane Timoney.  The series was a "re-imagining" of the original British series "Prime Suspect".  The series was created by Lynda La Plante and was redeveloped by Alexandra Cunningham who also serves as executive producer and writer.  Peter Berg serves as executive producer and director.  Sarah Aubrey, Julie Meldal-Johnson, Paul Buccieri, Lynda La Plante, and John McNamara all serve as executive producers.  The series is produced by Universal Television, ITV Studios America, and Film 44. Keith Crofford (born April 14, 1956 in Tuscaloosa, Alabama) is an executive vice president of Adult Swim, the adult-oriented division of Cartoon Network.  He is executive producer for several Williams Street in-house productions such as "Space Ghost Coast to Coast", "Aqua Teen Hunger Force", "The Brak Show" and "Squidbillies".  He also serves as the executive producer of "for Williams Street" out-of-house productions such as "Sealab 2021", "Robot Chicken", "Tom Goes to the Mayor", "The Oblongs", "Minoriteam" and "Moral Orel".  Crofford is also the executive in charge of production for Cartoon Network for "The Venture Bros." Brad Kern is an American television producer and writer.  He has been Executive Producer/Showrunner of CBS TV's hit, "" since midway through season two.  Previously, he served as Executive Producer/Showrunner on CW's supernatural, "Beauty and the Beast" for three seasons; and, prior to that, Executive Producer of the FOX action adventure, "Human Target".  He was also Executive Producer/Showrunner on the hit supernatural drama "Charmed" for all eight seasons.  Before that, he was Executive Producer/Showrunner of the award-winning Fox series "New York Undercover".  Other previous credits include Co-Executive Producer on "", Supervising Producer on "The Adventures of Brisco County, Jr.", and Executive Story Editor on "Hill Street Blues". Superstore is an American single-camera sitcom television series that premiered on NBC on November 30, 2015.  The series was created by Justin Spitzer, who also serves as an executive producer.  Starring America Ferrera (who also serves as a producer) and Ben Feldman, "Superstore" follows a group of employees working at "Cloud 9", store number 1217, a fictional big-box store in St. Louis, Missouri.  The ensemble and supporting cast features Lauren Ash, Colton Dunn, Nico Santos, Nichole Bloom, and Mark McKinney. Celebrity Rehab with Dr. Drew, later called simply Rehab with Dr. Drew, is a reality television show that aired on the cable network VH1 in which many of the episodes chronicle a group of well-known people as they are treated for alcohol and drug addiction by Dr. Drew Pinsky and his staff at the Pasadena Recovery Center in Pasadena, California.  The first five seasons of the series, on which Pinsky also serves as executive producer, cast celebrities struggling with addiction, with the first season premiering on January 10, 2008, and the fifth airing in 2011. Vera Mindy Chokalingam (born June 24, 1979), known professionally as Mindy Kaling, is an American actress, comedian and writer.  She is the creator and star of the television sitcom "The Mindy Project", which premiered on Fox and later moved to Hulu; Kaling also serves as a writer and executive producer on the series.  Kaling is also known for her work on the popular NBC sitcom "The Office", where she portrayed the character Kelly Kapoor.  In addition to acting on the show, she was a writer, executive producer, and occasional director for the show throughout most of its run.  For her work on "The Office", Kaling received various accolades, including a Primetime Emmy Award nomination for Outstanding Writing in a Comedy Series, in 2010. G-Unit Films and Television Inc. is an American film and television production company founded by rapper 50 Cent and Interscope in 2003.  In 2008, 50 Cent stated in an interview that he has created his own independent film production company with Randall Emmett called Cheetah Vision, technically scrapping G-Unit Films.  In 2010, Jackson revived G-Unit Films, renaming the company to G-Unit Films and Television Inc.  The company has joint ventures with Will Packer’s production company Will Packer Productions and Universal Television.  In over 18 months, Jackson has sold projects to six different networks.  Among them was "Power", a STARZ drama in which he not only co-stars but also serves as co-creator and executive producer.  “Power” debuted in June 2014 and was renewed for a second season after one episode.  “Power’s” August 2 season finale garnered the high ratings through the season, more than doubling the premiere and it generated 71% of the African-American viewership of any scripted premium series since 2006.  Jackson serves as a co‐star, co-creator and executive television producer of the STARZ network drama where he signed a 2 year contract with representation coming from the Agency for the Performing Arts.  Ratings have been a success for Starz.  with the second season premiere being the highest-ever season with 1.43 million people tuning in live.  Jackson also serves as an executive television producer for "Dream School" for SundanceTV, a series that follows fifteen high school dropouts as they are taught by a series of celebrity "teachers". "The Pyramid at the End of the World" is the seventh episode of the tenth series of the British science fiction television series "Doctor Who".  It is written by Peter Harness and Steven Moffat and was broadcast on 27 May 2017 on BBC One.  "The Pyramid at the End of the World" received generally positive reviews from television critics.
Answer: Steven Moffat