Executes groovy scripts