Create mode_change_preferences.groovy