<P> Brian and Stewie manage to sneak in backstage at the concert, where Miley asks why they're here . Brian then explains that Stewie has a' tumor' shaped like a football, which convinces Miley to let them hang out with her backstage . Miley and Stewie quickly become best friends and they sing a song which Stewie wrote . Soon, Chris realizes that the Monkey has spent more time with him, like taking him to play baseball and going to a father and son BBQ in Monkeykid . Chris then says to Peter that he has never gave as much attention to him as the monkey has, so he grows to resent his own father . While having ice - cream with Miley, Stewie notices a signal interference on her cell phone when handing it to her . He then realises something is strange about Miley . Upon spying on her, Stewie and Brian discover that she is actually an android after seeing an employee insert a USB drive on the control panel on Miley's back . They both realized that Miley was created by Walt Disney Imagineering to become the perfect teen idol that can never fail . When Brian curiously asks if she can perform other tasks, Stewie agrees to reprogram Miley to have sex with Brian by gaining access to the control panel . However, it goes wrong and he accidentally sends Miley into a rage, forcing Stewie and Brian to run away from the monstrous Miley . </P> <P> Peter and Chris set up traps for each other as they fight . Lois then gets sick of the boys fighting, so the monkey tricks Peter and Chris into coming to dinner together . Chris and Peter admit they don't hate each other and vow to spend more time together . As they are doing this, they see Brian and Stewie running away from the chaotic Miley who is smashing vehicles, shops and houses . The monkey confronts her, and attempts to talk her out of her rampage (as well as her career), but Miley ends up kidnapping him and takes him to the top of a nearby skyscraper . Fortunately, Peter is able to recruit his neighbor, Quagmire, to shoot her down in a biplane, and a battle with Miley starts escalating . The monkey falls out of her hands and he grips onto a narrow ledge with one hand . Miley's skin, hair and clothes peel off, revealing her android skeleton and she tries to kill Peter and Quagmire with a rock, but fails . Eventually, she is pummelled off the top . Afterwards, the monkey falls off the ledge but is saved by Peter just before he hits the road far below . Stewie and Brian then see the broken Miley, where Stewie says Brian can now have sex with her, but Miley blows up seconds later . Stewie apologizes to Brian for missing his chance for sexual intercourse with Miley but then her dismembered arm falls back out of the sky in front of them and Brian wags his tails in excitement and tells Stewie that it's not too late to have sex with her, anticipating what's to happen with him next with her hand . Monkey then moves out of Chris's closet, and his friendly attitude also parts ways with him, saying he will "go where he's needed", and moves to Tom Tucker's upside - down - faced son Jake's closet as his new haunt . </P> <P> "Hannah Banana" was written by series regular Cherry Chevapravatdumrong and directed by John Holmquist, before the conclusion of the eighth production season . Commenting on the original development of the episode, series creator and executive producer Seth MacFarlane stated, "(The episode) was the result of our ongoing desire to let the series stagnate, and kind of evolve things that may have run their course . There's only so many times you can do the Evil Monkey jumping out of that closet, before the joke gets old, and I think often times there's a fear to mess with what works, and change things permanently . (...) We literally retired the Evil Monkey in this episode, and got a great episode out of it, which was worth it, and kind of evolved the series in a way ." Singer and actress Candace Marie provided the voice of Miley Cyrus . Marie received the role when her producer alerted her of the audition, and she eventually received a call from the Family Guy casting director a month later . Even though the episode mocked Cyrus, Marie did not think she would upset any of Cyrus' fans . She added that she is a fan herself, and "was very impressed by the way Family Guy developed the episode," and thought it was "a huge compliment for them to refer to Miley as the "perfect popstar ." " After voicing Cyrus, Marie was called back to Family Guy to voice Meg's friend Beth for "several upcoming episodes ." Marie described Beth as a girl that is "rarely addressed in conversation but loves to chime in whenever she can ." The song in the episode sung by Cyrus was written by Chevapravatdumrong, and composed and performed by Family Guy composer Walter Murphy . </P> <P> The episode aired as a part of an "all - Seth MacFarlane" line - up, after the episode "Brian's Got a Brand New Bag" and the live - action special Seth and Alex's Almost Live Comedy Show . "Hannah Banana", along with the seven other episodes from Family Guy's eighth season, were released on a three - disc DVD set in the United States on June 15, 2010 . The sets included brief audio commentaries by Seth MacFarlane and various crew and cast members for several episodes, a collection of deleted scenes, a special mini-feature which discussed the process behind animating "Road to the Multiverse", and mini-feature entitled Family Guy Karaoke . In addition to the regular cast, series regular, writer and executive producer Danny Smith voiced the Evil Monkey . Recurring guest voice actors Chris Cox, actor Ralph Garman, writer Alec Sulkin and writer John Viener made minor appearances throughout the episode . </P>

Who did the voice of miley cyrus on family guy