Upgrade bootstrap.py