Create encode_upload.sh