Fixed bug in install.py