fix control script