simplified and cleaned up install_helper.py.