mod publish.sh