Actress Jennifer Aniston is going gay – or at least bisexual – in the upcoming Judd Apatow-produced comedy Wanderlust, celebrity website reported.

In the film, Aniston stars opposite Paul Rudd as urban couple Linda and George, who after losing all their money, set out from Manhattan looking for a more counter-culture lifestyle, eventually taking refuge in a commune.

The 41-year-old Aniston will not only fall into the arms of men, but she'll also take on two women at the same time, one of whom happens to be pregnant. Her commune life will also include smoking pot and going topless while protesting at a Wal-mart.

The screenplay is written by David Wain and Ken Marino. Rudd will also assist with writing. The three men are also listed to produce. Wain, who directed Rudd in the comedy Role Models, is set to direct.

Aniston is also attached to New Line's upcoming comedy Horrible Bosses, in which she will co-star with Jason Bateman, Colin Farrell and It's Always Sunny in Philadelphia's Charlie Day.

Wanderlust is expected to begin filming in the fall and open next year.