switch grails script