According to court documents obtained by The Blast, Angelina Jolie has been put on notice that if she doesn’t improve her relationship with her children’s father and ex-husband Brad Pitt, she could lose primary custody of her six children.

The documents reportedly state “not having a relationship with their father is harmful to [the children],” and adds “it is critical that each of them have a healthy and strong relationship with their father and mother.” But it appears the judge has laid out specific rules in order to ensure the paternal relationship is strengthened. The judge ordered Jolie to arrange a phone call between her children and doctors to explain to them that they are indeed safe with their father (Pitt was of course accused of – and then later cleared – of child abuse on board a private jet in 2016.) Other rules allegedly stipulate Jolie must supply Pitt with her children’s cell phone numbers so they can call their dad whenever they’d like and she must not read text messages between them.

A U.S. summer schedule was also planned out so the children can spend time with both their mum and their dad between London and Los Angeles. At 16-years-old, Maddox is deemed old enough to make a decision on how much time he’d like to spend with his father while Pax, 14, Zahara, 13, Shiloh, 12 and nine-year-old twins Vivienne and Knox must follow court orders. Jolie has been ordered to keep her distance from Pitt and children when they are in his care – she is only allowed to call them once a day.

“This [divorce] has been a longstanding back-and-forth, and hopefully now there will be greater collaboration for the benefit of the kids,” a source told Us Weekly. “The kids have always been a priority for both parents and hopefully everyone will comply with the court order going forward. Brad will be wherever he needs to be for the kids.”