Added grails env code for buildpack