move script to build.sh