Made changes to emergency_control.