John McClane’s R-rated update on Roy Rogers’ “yippee-ki-yay” catchphrase is one of the most iconic uses of profanity in movie history, but the real-life story behind the famous Die Hard obscenity is surprisingly sweet. Despite recent reassessments calling it a Christmas movie, Die Hard is no Miracle on 34th Street. From the body count to the cuss count (including 50 f-bombs), Die Hard helped to raise the bar for violence and profanity in action movies, and it was largely thanks to screenwriter Steven de Souza. However, Die Hard wasn’t just hardcore for hardcore’s sake.

Steven de Souza’s screenplay for Die Hard is widely considered one of the tightest screenplays in the action genre. It’s all the more surprising then, that, according to de Souza, Die Hard was mostly written on the fly. “The changes were happening so fast,” he said (via the I Was There Too podcast), “and the picture was better for it.” One such change was the late-hour addition of John McClane’s (Willis) now famous “yippee-ki-yay” one-liner, but the exact reason the obscene line made it into the Die Hard script is surprisingly wholesome.

Related: There Are No Plans For A New Die Hard (And That's Good)

Diehard Added Yippee Ki Yay Due to a Childhood Connection

Die hard John McClain hans Gruber

Steven de Souza added John MacLane’s yippee-ki-yay catchphrase to the Die Hard script after learning that he and Bruce Willis grew up in the same town, watching the Roy Rogers Show on the same television station. Prior to filming, de Souza met up with Bruce Willis on the set of the television show, Moonlighting, to discuss Willis’s part in Die Hard. It wasn’t all business, though. During their conversation, de Souza, a Philadelphia native, learned that Bruce Willis grew up in the same city, playing under the same nearby Atlantic City boardwalk, and watching the same Philadelphia TV stations.

One of these Philly stations played the Roy Rogers Show, which, as it turned out, was a childhood favorite of both de Souza and Willis. Inspired by their childhood connection, de Souza put an R-rated twist on Roy Rogers’ catchphrase, “yippee-ki-yay kids,” and worked it into McClane’s transceiver talk with baddie, Hans Gruber, creating the coolest way to hang up a walkie-talkie ever. However, the line would have been a little less cool had Bruce Willis gotten his way.

Why the Yippee-Ki-Yay Line Sparked a Debate on the Set of Die Hard

bruce willis says die hard 5 script is finished

Despite bonding over their childhood connection, Willis and de Souza didn’t see eye to eye when it came to the pronunciation of de Souza’s commemorative line. Willis insisted the correct pronunciation was Yippee-Ti-Yay, leading to an on-set debate between Die Hard’s star and its screenwriter. Fortunately, de Souza won the debate, sparing the world the ear torture, and the embarrassment, of Willis’s less catchy malapropism.

What the world got instead was a low-key battle cry for the ages. McClane’s one-liner would go on to become a catchphrase, appearing in dialogue from Die Hard 2: Die Harder and Die Hard With a Vengeance, as well as in ads for Live Free or Die Hard. It also found a life of its own in non-IP movies, songs, skits, and other media, but Die Hard's tough-guy tagline would never have had a life at all if not for the childhood connection between Bruce Willis and Steven de Souza.

More: Why Hans Gruber's Die Hard Death Scene Aged So Well