Tweaked publish.sh.