Update syntax check to GroovyShell