planning and better build.sh