 Daniels was terrified that the scene would leak unedited, so he personally oversaw the censoring of the master copy.The scene where Pam rests her head on Jim's shoulder after Dwight has stolen his sale and Jim smiles and says "not a bad day after all" came about when Greg Daniels spoke to the writers about wanting to have small, happy interactions between Jim and Pam and mentioned the head-on-shoulder idea, which B. J. Novak immediately wrote into his script.Paul Lieberstein did not want to appear in the episode and did so assuming it would be a one-time event, but Kevin Reilly was impressed by his work and said the show should use him more, leading to the expansion of Paul's work as Toby Flenderson.