fixed syntax problem in control script