content: 
  ====Original draft====
  In 2018, ''Vanity Fair'' writer Joanna Robinson compared the episode as aired with an early draft by Martin archived at the Writers Guild of America library in Los Angeles. Unlike the two previous episodes he had written, this draft had significant differences from the produced version. Martin considers it the moment the show began to diverge considerably from the books, whose plotlines it had begun to outpace, and believes this may be why Martin wrote no more for the series.
  The most significant difference was an earlier, and different, resolution of the Catspaw plot arc, involving who had masterminded the attempted assassination of Bran Stark in season 1, precipitating the War of the Five Kings that dominated the next two seasons, than that ultimately filmed. In Martin's script, after Joffrey is presented with the Valyrian steel sword, reforged from that of the executed Ned Stark's Ice, as a wedding gift by his father, he says "I am no stranger to Valyrian steel." This remark prompts Tyrion Lannister, who was framed for the assassination attempt, to realize that Joffrey was actually behind it (as the books heavily imply); Tyrion then makes remarks to Joffrey, and later Sansa, insinuating that he knows this.
  Scenes that built on this disclosure remained in the final script. "Had this made it to the screen,
  Robinson explains, "it would have helped explain why Joffrey is so publicly monstrous to his uncle at his wedding, and also set up Tyrion as a more credible suspect in the Joffrey poisoning plot—he threatened the boy just that morning." Tyrion in Martin's draft is also more violent to Shae when he warns her (honestly, as opposed to the series) that since his father knows why she is in King's Landing, he will have her killed.
  In Martin's draft, Bran's first vision is more extensive. While it does not include the Night King's first appearance onscreen as it does in the series, it would have been an extensive montage of scenes from the past, present and possible future in the series. Flashbacks would have included scenes of Ned cleaning Ice beneath a weirwood tree from the show's original pilot, Bran's uncle Benjen and Lyanna Stark as children (later shown in a more extensive flashback in season 6), King Aerys watching and laughing as Ned's father and brother are burned and Jaime and Cersei embracing in the old keep at Winterfell just before Bran discovered them. Scenes reflecting the show's present included Jon with Ghost, a bloodied Robb surrounded by the Red Wedding dead, and Arya holding her sword Needle as her face blurs and changes. Possible future images include a dragon's shadow passing over King's Landing, "hints of strange small children with very dark eyes" and a group of four distinctive northern hills behind a very large weirwood.
  The episode would also have set up some of the plotlines from the books that were not used in the later seasons of the series. Roose Bolton tells Ramsay that he has arranged for him to marry Arya as a way of consolidating the family's hold on the North; a role assigned to Sansa instead in the next season. Several lines were also intended to set up Jaime's trip to the Riverlands, which in the books immediately follows Joffrey's wedding but in the series was largely replaced by Jamie and Bronn's expedition to Dorne to bring Myrcella back to King's Landing. The two characters who take that trip instead in the books, along with many other minor characters from the wedding scenes, were in Martin's draft but eliminated from the produced version as showrunners David Benioff and D. B. Weiss were beginning to focus on the more established characters in the later seasons.
  Robinson believes a note by Martin in the script suggests a different resolution to Ramsay's plot arc in the books, where he is still alive and in power at Winterfell at the end of ''A Dance with Dragons'', in contrast to his death at the end of the sixth season of ''Game of Thrones''. Martin's note told the showrunners that Ramsay's dogs would eventually battle the Stark children's direwolves, so the show should emphasize the former as much as possible to build audience anticipation. However, that never happened onscreen, where all but two of the wolves are dead as of the end of season 7, and seems unlikely in the books. Robinson believes this indicates that Ramsay will have a very different plot arc in the series' two final books.
  Lesser differences include a more protracted, bloodier death scene for Joffrey as the poison drives him to slash his own face, a more lavish feast, and Theon's appearance as Reek following Ramsay's extensive torture more closely resembling that described in the books, complete with whitened hair and missing fingers, something that would have required more extensive special effects for the remainder of the series, as well as speaking in rhyme. Similarly, the burning of the heretics on the beach at Dragonstone would have demonstrated the power of the Lord of Light, with the bonfires suddenly changing to different colors and apparitions of the now-forgiven dead seen briefly above; the scene would have also foreshadowed Shireen's sacrifice by the same method the next season. The scene where Varys warns Tyrion that Cersei has told Tywin about Shae, a short conversation on a garden path in the finished episode, instead takes place at more length in the Red Keep's dungeons, with Varys dressed as "a denizen of the dungeons" in armor, carrying a whip and wearing a false beard.
  Martin also wrote that some of the scenes should be shot from an individual character's point of view, much as most of his book chapters are written from the point of view of the character they take their name from. While he admitted that it had been difficult to bring that aspect of his story to the screen, he nevertheless attempted it here, calling for the scene where Ramsay and Myranda chase the woman to her death at the hands of his hounds to be seen from the woman's point of view as she runs and then falls to the ground, then from Theon's as he looks on defeated. The producers did, however, shoot scenes from the point of view of Bran's direwolf Summer, which Robinson notes saved them money since the animals have been expensive to shoot scenes with.