Jennifer Aniston‘s social media followers were treated to some banter between the Friends alum and her costar Courteney Cox — not as Rachel and Monica, but themselves.

“Would I ever go brunette? I am brunette,” Aniston said, as Cox walked into the room and held up her dark hair against Aniston’s face.

“Oh, wait,” Aniston says. “This is like the Horrible Bosses character I played.”

Aniston played Dr. Julia Harris, a dentist who regularly subjected her hygienist, Charlie Day’s Dale Arbus, to her truly disgusting behavior at the office in the 2011 comedy. The movie also costarred Jason Bateman, Jason Sudeikis, Jamie Foxx, and Colin Farrell.

Turns out that Cox is among its fans: “I love Horrible Bosses.”

Get your daily dose of entertainment news, celebrity updates, and what to watch with our EW Dispatch newsletter.

Aniston said that she knew.

“You were a badass dentist!” Cox told her friend.

The whole thing was an ad for Aniston’s haircare line, LolaVie — she is known for that Rachel haircut — but The Morning Show star probably enjoyed shooting it.

Not only did she get to work with her longtime friend, with whom she starred on their NBC hit from 1994 to 2004, creating the content also gave her a chance to promote a movie she truly enjoyed playing.

She revealed in June that, of all her projects, she’d like to revisit Horrible Bosses.

Jennifer Aniston stars in ‘Horrible Bosses’.

Moviestore/REX/Shutterstock

“Oh my God, this literally came up the other day: Horrible Bosses,” she told PEOPLE. “Jason Bateman and I were talking about that, and Charlie Day has been talking about it a lot, too. So that’s something that we think would be super fun.”

She continued, “The characters are hilarious, and we need comedy. I personally think comedy is a necessity. That’s one that we would have a really fun time, I think, seeing where those crazy cats are today.”

And Julia, one of the characters mentioned in the title, is pretty wild. But then so are some of the other bosses, which is why the central characters make a plan to kill them.