refactor(scripts): make class loading compatible with grails 2.3.x