Added syntax error prints.