update to build script to publish