The episode was filmed "from dawn, until very late at night", according to Kaling. During filming breaks, Kaling explained that she took "ladylike" naps while Paul Lieberstein made notes on the episode and its script. While filming, many parts of the script were changed so the restaurant would allow the shoot to continue. For instance, in the original script, Pam vomits at Chili's and Dwight responds, "A woman has vomited!" Because the completed script was not available for Chili's to review until shooting had already started, when they were finally given a chance to read it, they objected to a customer vomiting in their restaurant. Chili's withdrew its permission to shoot, but, after a few hours, Steve Carell developed a compromise: Pam would fall off her bar stool and Dwight would respond, "A woman has had a seizure!" In the original version, Pam was also to be over-served alcohol by the Chili's staff, but Chili's—feeling that this would reflect poorly on their character as a company—did not want this in the episode either. To solve this issue, the writers had Pam steal drinks off other tables. The writers and producers also agreed to include a scene in which the actual owner of the Chili's restaurant (Jon Bosshart, not an actor) makes it clear that the restaurant does not over-serve alcohol to its customers. Since Jenna Fischer does not drink much in real life, B. J. Novak took her out so she could get drunk while Novak described to her how she was behaving and how it did not match her own perception. She drew upon this experience for her performance.