Syntax error in control script