upload.sh: added public flag to upload