Fixed bug in upload script