Modified control script