Upload macro class