updated the upload script