Gillian Anderson has a big problem with writers on the new X-Files production. They are all males. (Photo: Bang ShowBiz)

Gillian Anderson, who played FBI Special Agent Dana Scully on the long-running and widely popular series “The X-Files,” is blasting the lack of women on the show’s new writing team, which is strictly a boy’s club.

Gillian lashed out at the show’s producers on social media after IndieWire reported that only male writers were hired for the show’s reboot.

The show ran for nine seasons from 1993 to 2002 on Fox. It was revived for a 10th season last year and Fox has ordered 10 more episodes this year.

The writing team includes show creator Chris Carter and returning staffers Darin Morgan, Glen Morgan and James Wong.

Joining the team are Gabe Rotter, Benjamin Van Allen and Brad Follmer. Rotter and Van Allen were writing assistants last year and Follmer was Carter’s personal assistant.

When Anderson, who is reprising her role, got the news, she lashed out on Twitter.

“And 2 out of 207 eps directed by women. I too look forward to the day when the numbers are different. #TheFutureIsFemale,” she wrote.

Anderson co-star David Duchovny acknowledge that the show is under pressure to at least match the quality of the original series.

“‘The X-Files’ is a show that has a high bar set, so we go into it really feeling like we can do something significant,” he said.

The show’s lead characters Fox Mulder and Scully are FBI agents who investigate so-called X-Files–unsolved cases involving paranormal phenomena.