Cat Grant (Calista Flockhart) is going to do a couple of things she’s never done before when she returns to National City for the last two episodes of “Supergirl” Season 2.

“What’s great about … episodes [21 and 22] is that Cat actually gets to do some things she’s never done before,” executive producer Andrew Kreisberg said in a recent interview with TVLine. “But she also gets to perform the role that she always has, being a mentor and a role model — not just for Supergirl (Melissa Benoist) but also for Kara.”

“Supergirl and Kara have different storylines,” Kreisberg pointed out. “In the finale, both aspects of her character are going on separate journeys. Cat and Superman are there to help both of them.”

READ: Will Kara team up with Lillian Luthor in “Supergirl” Season 2, Episode 21?

As Kreisberg previously explained to E! News, Kara is going to need as much advice as possible because “she’s forced to make several very difficult decisions” in the final two episodes of the season. “Obviously, it’s always exciting to have her fight aliens and perform miracles and catch spaceships and rescue people, but she’s forced to make some of the most difficult decisions she’s ever had to make in both episodes 21 and especially 22,” Kreisberg said. “And every character, including … Cat, is there to provide her with the emotional support to make some of these decisions.”

Although Cat usually stays in her office as Supergirl faces off with baddies outside, Kreisberg revealed to E! News that Flockhart actually has a scene with Teri Hatcher. “There’s a great standoff between Cat Grant and Rhea,” Kreisberg said. “It’s amazing to me to be on set when you're watching Teri Hatcher, Calista Flockhart … yelling at each other. It’s pretty cool. … It really is a woman’s world on this show and we’re so proud to be able to present that.”

The trailer for Season 2, episode 21 gives fans a first look of Cat’s return to National City. In the preview clip, the CatCo Worldwide Media founder addresses the public saying:  “Good evening, National City. I’ve been away for awhile, but I am back.”

Cat was last seen in Season 2, episode 2, titled “The Last Children of Krypton.” At the end of the episode, Cat decided to take a leave of absence from CatCo to find bigger and better things to accomplish after she felt stagnant in the world of media she had already dominated. Before she left CatCo, Cat promoted James (Mehcad Brooks) to be her stand-in while she’s away.

As for why it took several months before the show could finally arrange Flockhart’s return, Kreisberg said (via Entertainment Weekly) that the actress “had other commitments and family” to take care of.

Flockhart was a series regular in Season 1, but after the show’s production was moved from Los Angeles to Vancouver, the Golden Globe-winning actress and Warner Bros. TV reached an agreement that she would only return for Season 2 as a recurring guest star.

“Supergirl” Season 2, episode 21 — the penultimate episode of the show’s sophomore run —  airs on Monday, May 15 at 8 p.m. EDT on The CW, while the Season 2 finale airs the following Monday, May 22 in the same time slot.