Fixed a couple bugs with the install script