This should be moved out of this callback because now a new event will be created every time envTakeOverStarting gets fired.