The scenes from the airplane in this episode were taken from Jim's Stand up special 'Fully Functional'(2013).
Jim's rant in the beginning of the episode is based off of his special, 'Alcoholocaust" (2010).
(Jim and Peggy argue in a restaurant)
Jim: This is why I'd love to be gay. It would suit me. I wouldn't enjoy the sex at first. (The homosexual couple at the next table looks) I'd muscle through it. I'm a trooper. I'd have it in my mouth, I'd have tears streaming down my face, but it'd all be worth it just so I could split the occasional bill. That's why lesbians are so bloody angry. Neither of them knows who's going to pay. One of them is sitting there like, "Well I've put the effort in. I've shaved my head, I've got a new plaid shirt, she better treat me like a princess!"
Peggy: Yup, You're an asshole. (leaves)
Jim: Why do they look like men? Why do they always have to look like men if they hate us so much? You'd never see a Jew dressed as a Nazi.
(Steve, who is afraid of airplanes, leaves to fly to Omaha.)
Billy: Bye Steve! Don't forget to crash and die!
Steve: Okay Billy. Don't forget to have mom wash your balls for you.
Billy: (Stops smiling) You're gonna burn.
(Jim fights with another passenger over an armrest)
Jim: I want this asshole away from me.
Stewardess: You know there is no need for that kind of language.
Jim: This is the exact reason that that type of language was invented! We're both angry. We're having a fight. When do you swear?
(Jim explains plane etiquette.)
Jim: Window gets an armrest and a wall. Middle gets two armrests. Aisle gets an armrest and a little bit of extra leg. We're not animals. We live in a society.