Used push-location and pop-location to temporarily change the working directory of the makeappx call.