upgraded bootstrap.sh