finished upload.py