create assemble.sh and update publish.sh