Mod publish.sh