Changed the default value for the retract mode so that it's the integer form rather than the string form