Updated sample_upload_script