make archive_upload standalone