she finally gets calm and the staff stays by her side when she's taken to surgery; the staff repeats she will be fine, which J.D. qualifies with "we hope," as she goes under anesthesia. When she awakes, she asks Dr. Cox if the surgery works, but Cox replies "you're gonna have to tell us", and they take a step back; Ms. Miller realized that the surgery was a success, she no longer hears singing, and thanks Dr. Cox and the others. J.D. breaks the moment asking her who was the best singer in her head, much to the rest of the staff's (and especially Dr. Cox's) dismay. J.D. reflects in voiceover that in musicals everyone get what they want, but in reality, after having made a choice we may miss the way things were; as Elliot realizes she misses her roommate, Carla realizes she wishes she spent more time with her daughter, and Ms. Miller realizes she misses the music in her head. Production details It had long been a dream in the Scrubs writer's room to do a musical episode. Scrubs creator Bill Lawrence is a self-confessed musical theatre "nerd," as are many of the writers. In addition, many of the cast members have had backgrounds in musical theatre. According to Lawrence, "I knew that Donald [Faison] and Judy [Reyes] were Broadway-style singers and dancers. I knew Sarah [Chalke] could dance, because she danced when she was young. I knew Zach [Braff] loved musical theater. I had actually seen Ken Jenkins in Big River on Broadway when I was a kid. Neil Flynn and John C. McGinley were the last two guys to admit that they'd done a lot of musicals and stuff, but being actors, they had. Johnny C. knew how to do a Gilbert and Sullivan number, and Neil had a big baritone voice." Scrubs had previously dabbled in the musical genre, including a West Side Story parody in the episode "My Way or the Highway," and a Broadway-style finale in "My Philosophy." However, Lawrence had long been unwilling to do full musical episode, because of difficulties making it "organic to the show," and because of the amount of work that would inevitably be involved. Finally, at the end of Season 5, with Season 6 looking like it would probably be the last season; Lawrence told the writers that if they were ever going to do a