Daughter has become a terror

Renee
When my ex husband and I were together I was still a single mom. He was never there. Once we separated he didn't see our kids for 7 months. Not even a phone call. They were so happy and well behaved. And they played together without a problem. Now we have a court ordered custody agreement he gets them 1 week out of the month. Since they started spending time with him my daughter whines and cries over everything. It's rediculous. She screams and throws Tameka like never before and she is mean to her brother. Tried locking him in the oven. Tries shutting him in his closet. Gave him a black eye. Slammed his head into the table. Tries pushing him down stairs. My baby boy is still a live bug. But she is hateful has an attitude and I constantly have to have my eyes on her because I'm scared she's really going to hurt her brother. I don't know what to do anymore. This is not the little girl she used to be. She is only three and my boy is 2. Any advice?