Map upload Functions
Debug for upload