Join code in SetVariableDefault