In my opinion, scolding doesn't really teach a dog anything. I mean, you can express your displeasure, but your timing has to be good, otherwise, she will not make the connection you want her to make. I mean, it has to be within seconds.
The best thing to do is to become a pro at managing situations so you don't put her in a situation where she will fail. And, it really helps to understand how dogs look at what we do. For instance, last night, you got her super excited. She jumped on your son, in my opinion, to play because she was so excited. So, if you want to exercise her and get her tired out before bed (GREAT idea!) then do it separately from the kids, OR, have her on a long leash. You can use a leash longer than her normal leash, that way you can keep hold of it, and step on it if she starts to run toward your son when she's hyper.
Also, when you yelled at her, as she ran toward him, it may have only excited her more, as to some dogs, yelling sounds like barking, which they do in play.
Lunging isn't always aggressive, it is done in play, too. And, time outs, in the cage can cause her to dislike the cage, so pick a different spot if your intent is punishment. If your intent is just to separate her from the children, the cage is fine.
Now, I'm not saying this situation was your fault, just that there are ways to manage the environment next time.
You can use the leash to control her, but also, in the meantime, work on recall (getting her to come when you call her), and teach some commands like "leave it".
Also, do a search for jumping. When she attempts to jump on people, have people turn their backs on her. Praise her when she has "four on the floor." Jumping when greeting people is a bit easier to deal with, though, than jumping on people when she's been playing. When she's greeting people you can get her to sit, a bit away from people, and let them approach her. If she gets up, you remove her, or simply back up, and try the sit again. Here's where having her on a leash inside can be a help!
My older dog used to pee when he was excited, too. He grew out of it!
