fix build.sh mode again