correct syntax errors, turn on the script