scripts for uploading