added working wait function, python uploader now just needs to upload it to the POST