bettered publish-plz.sh