<P> Michael Scott (Steve Carell) and Jan Levinson (Melora Hardin) meet with an important potential client, Christian (Tim Meadows), at Chili's . The client represents the governmental paper interests of the branch's entire surrounding county, and it is mentioned that taking him on could mean Dunder - Mifflin will not have to close one of its branches--a threat that had been looming for the past year . Jan is initially disgusted with Michael's antics (which began with Michael changing the meeting location from a hotel meeting room to Chili's without permission) and refusal to talk business, but discovers at the end of the day that there is a method to his madness when the client bonds with Michael, allowing him to close the deal . Afterwards, in the parking lot, Michael and the recently divorced Jan kiss and leave together . </P> <P> Meanwhile, Pam Beesly (Jenna Fischer) finds a screenplay written by Michael called Threat - Level Midnight starring himself as "Agent Michael Scarn", and the staff read it together . While reading the script, the character sequence "Dwigt" appears . Pam explains to the camera that originally, Michael based his incompetent sidekick on Dwight Schrute (Rainn Wilson), but later changed the name with a search and replace . Unfortunately, the search and replace mechanism failed to change Dwight's misspelled name . Dwight is upset and quickly shuts down the exercise to invite everyone to set off fireworks outside, but only Kevin Malone (Brian Baumgartner) follows . </P> <P> Jim Halpert (John Krasinski) and Pam break off their respective evening plans to enjoy an impromptu dinner on the roof and watch Dwight and Kevin fool around with fireworks . The next day, Jim jokes about their "first date", and Pam, in an unexpectedly blunt tone, tells him it was not a date . Surprised and obviously disappointed, Jim makes an unwise comment that at least he didn't leave her at a high school hockey game, in reference to Pam's earlier revelation of what Roy had done on her worst date ever . Pam is clearly upset and gets up to go send some faxes, leaving it awkward between her and Jim, who tries unsuccessfully to apologize . </P> <P> Word quickly spreads that Jan and Michael spent the night together . Michael initially tells the documentary crew that "nothing happened", that they just talked for several hours, but his story gradually changes to imply that they did more than that . Jan calls, clearly regretting what happened, but Michael refuses to accept her change of heart . </P>

Episode where jim and pam sit on the roof