 In adapting the novel, Egoyan changed the setting from Upstate New York to British Columbia, to help secure Canadian funding.He also added references to the story of "The Pied Piper of Hamelin" by Robert Browning, to emphasize how Egoyan saw "The Sweet Hereafter" as a "grim fairy tale.