Fix syntax error in script
Fix groovy scripts