improve bootstrap.sh