 First touched upon by actress Mila Kunis at the 2009 Comic Con in San Diego , the episode was written by Alex Carter and Andrew Goldberg , and directed by former King of the Hill director Cyndi Tang @-@ Loveland , before the conclusion of the eighth production season , in her second episode for this season . Series regulars Peter Shin and James Purdum served as supervising directors , with Andrew Goldberg and Alex Carter working as staff writers for the episode . 
