Bugfixes to the installer