 The episode was written by series co @-@ creator Ryan Murphy , directed by series co @-@ creator Brad Falchuk , and was filmed in five days , from August 22 , 2011 through August 26 , 2011 . Broadway star Idina Menzel returns for the first time since the first season finale " Journey to <unk> " , when her character , Shelby Corcoran , adopted Quinn 's newborn baby , named Beth . On July 15 , 2011 , it was announced that Menzel would be returning to Glee in the third season " for a major arc that could span as many as 10 @-@ 12 episodes " . Series co @-@ creator Ryan Murphy was quoted as saying , " I 'm really excited [ ... ] that Idina is joining the family again . We missed her last year and we 're happy that she is coming back . " The article also noted that her character , Shelby , would be " returning from New York to Ohio to join William McKinley High School as a new teacher " . Menzel herself said that she would " be back and forth in Glee all throughout the season " , which she was " very excited about " . Shelby 's adopted daughter is also appearing : Menzel tweeted that she was " shooting scenes with babies " . The drawing of the " Clown Pig " that Puck brings for Beth was actually drawn by Falchuk and Agron . 
