add publish.sh script