"Proposed changes to uploader.py -- revert if incorrect"