moved directory printing to development only
moved sockurl to grails control