Fixed the code for uploading to Synapse.