Update old bootstrap script; py3 compat