build script fix
build & publish script