Cleanup of the script (but the Grails config is still not used)