Add $var resets to end of macro