Fixed a couple bugs in the installer