Changes made to upload_data.py