update build script for release