Question: Who directed the comedy film which was written by Tina Fey and based on a book by American parenting educator Rosalind Wiseman?
Context: Megamind is a 2010 American 3D computer-animated superhero comedy film directed by Tom McGrath, produced by DreamWorks Animation and distributed by Paramount Pictures.  The film premiered on October 28, 2010 in Russia, while it was released in the United States in Digital 3D, IMAX 3D and 2D on November 5, 2010.  It features the voices of Will Ferrell, Tina Fey, Jonah Hill, David Cross, and Brad Pitt. Rosalind Wiseman is an American parenting educator and author of several publications.  Her "New York Times" best-selling book "Queen Bees and Wannabes: Helping Your Daughter Survive Cliques, Gossip, Boyfriends, and Other Realities of Adolescence," released in 2002, was the basis of the 2004 film "Mean Girls".  Wiseman is also the creator of the Owning Up Curriculum, a program that teaches students and educators to take responsibility as bystanders, perpetrators, and victims of unethical behavior. Bossypants is an autobiographical comedy book written by the American comedian Tina Fey.  The book topped "The New York Times Best Seller list", and stayed there for five weeks upon its release.  As of November 2014, the book has sold over 2.5 mllion copies since its debut, according to Nielsen BookScan.  Additionally, Fey's Grammy nominated narration of the audiobook has sold over 150,000 copies on Audible.com.  A paperback reprint edition was released in January 2012, from Reagan Arthur Books, an imprint of Little, Brown. Mean Girls is a 2004 American teen comedy film directed by Mark Waters and written by Tina Fey.  The movie is based in part on Rosalind Wiseman's non-fiction self-help book "Queen Bees and Wannabes", which describes female high school social cliques and the damaging effects they can have on girls. Sisters is a 2015 American comedy film directed by Jason Moore and written by Paula Pell.  The film stars Tina Fey and Amy Poehler, and was released on December 18, 2015 by Universal Pictures. Baby Mama is a 2008 American romantic comedy film written and directed by Michael McCullers in his directorial debut and starring Tina Fey, Amy Poehler, Greg Kinnear, Dax Shepard, Steve Martin, and Sigourney Weaver. The Invention of Lying is a 2009 American fantasy romantic comedy film written and directed by Ricky Gervais and Matthew Robinson (in their directorial debuts).  The film stars Gervais as the first human with the ability to lie in a world where people can only tell the truth.  The supporting cast features Jennifer Garner, Jonah Hill, Louis C.K., Rob Lowe, and Tina Fey.  The film was released in the United States on October 2, 2009. 30 Rock is an American satirical television sitcom created by Tina Fey that ran on NBC from October 11, 2006, to January 31, 2013.  The series, loosely based on Fey's experiences as head writer for "Saturday Night Live", takes place behind the scenes of a fictional live sketch comedy show depicted as airing on NBC.  The series's name refers to 30 Rockefeller Plaza in New York City, the address of the Comcast Building, where the NBC Studios are located and where "Saturday Night Live" is written, produced, and performed.  This series is produced by Broadway Video and Little Stranger, Inc., in association with NBCUniversal. Date Night is a 2010 American comedy film directed by Shawn Levy, written by Josh Klausner and starring Steve Carell and Tina Fey as a couple who get caught up in a case of mistaken identity while on a date. Muppets Most Wanted is a 2014 American musical comedy film and the eighth theatrical film featuring the Muppets.  Directed by James Bobin and written by Bobin and Nicholas Stoller, the film is a sequel to 2011's "The Muppets" and stars Ricky Gervais, Ty Burrell, and Tina Fey, as well as Muppet performers Steve Whitmire, Eric Jacobson, Dave Goelz, Bill Barretta, David Rudman, Matt Vogel, and Peter Linz.  In the film, the Muppets find themselves unwittingly involved in an international crime caper while on tour in Europe.
Answer: Mark Waters