updated publish.sh