Ashley Williams and Alison Sweeney switched roles during development of Hallmark Channel’s “Miles to Christmas,” with Williams taking the part of straight-laced Cassidy and Sweeney playing free-spirited, music-loving Jo.

The actors, who have worked together before on Hallmark Channel, were initially expected to play the opposite roles. In an exclusive interview with JustJared.com, Williams explained how the change came about.

“It’s so funny that you picked up on that. So, originally when we pitched this, I was going to play Joe and Alison was going to play Cassidy. Cassidy is the far more straightlaced, the Virgo, if you will. And that was sort of naturally what we both assumed. And then as we’re in the development process, pretty early on, I started to be like, ‘It might be kind of fun for me to play the woman in the suit.’ You know, I’ve never done that before. I’m always sort of a little bit more outside the box. And it turns out Ali was having the exact same instinct,” Williams said.

She said Sweeney emailed her to ask who would play each part. “And so she emailed me one day and she was like, ‘Just so I know, who’s playing which part?’ And I was like, ‘Honestly, I’m open.’ And she said, ‘Can we switch?’ And that was where the story sort of, really got exciting for us, you know? And for Hallmark as well. Auna Kemp, our executive, said one of the things she was most excited about was the fact that Ali and I were playing outside of type.”

Williams said the role swap also helped her find her character’s choices. “It was so funny. Like day two or something I looked at Ali and she looked at me and I was like, ‘You’re playing me and I’m playing you.’ Which means that whenever we don’t know what our character would do, all I had to do was go, ‘What would Alison Sweeney do right now?’ And it was a really good sort of like guiding force,” she said.

“Miles to Christmas” airs on Hallmark Channel on Sunday, November 29 at 8/7c and streams next day on Hallmark+.