boot.py ported