upgrade bootstrap.py
make python3 compatible