modifications to upload script