Improved uploadArchives