change mode grailsw