fixed syntax on upload script.