Supergirl finally returns tonight after an extended hiatus and the all-new episode marks the directorial debut of Melissa Benoist, who also portrays the titular Girl of Steel.

Speaking to EW, Benoist discussed her experience directing, as well as the advice she got from Arrow star David Ramsey. Ramsey had previously directed two episodes of Arrow, "Past Sins" in Season 7 and "Reset" in Season 8.

RELATED: Supergirl: A Brief Recap of Season 5 So Far

Benoist singled out Ramsey, saying, "Of course. David Ramsey as well has been really helpful." She then added, "These shows are so specifically involved as actors already, the schedules are grueling, we’re there so much and we all get to know these so well. we spent a lot of time with each other on a crossover, so I did get quite a bit of advice from David of course. He gave me book recommendations and just every day we would kind of talk, especially when he was directing. I got to watch him and he has such a great, fun, positive directing vibe about him."

Benoist's directorial debut, "Deus Lex Machina", focuses almost entirely on Lex Luthor (Jon Cryer) and his rise to power in the wake of the Crisis on Infinite Earths crossover. Benoist said she had wanted to direct since season 3 of Supergirl, but scheduling conflicts prevented her from doing so.

Airing Sundays at 9 p.m. ET/PT on The CW, Supergirl stars Melissa Benoist as Kara Danvers, David Harewood as Martian Manhunter and Chyler Leigh as Alex Danvers.

KEEP READING: Supergirl Synopsis Promises Answer to Lex's Post-Crisis Power