added new exception for syntax errors in script