replace build.sh with new one