Jennifer Aniston has agreed to appear on the season finale of Dirt on FX.

She'll star alongside her former Friend, Courteney Cox; Variety reports Aniston will play a rival to Cox's magazine editor character. It's the first time Aniston and Cox have appeared together on TV since the NBC sitcom.

Aniston's episode of Dirt will air March 27th at 10pm on FX.