Modernized bootstrap.py