Fixed a error in the control script.