a bunch of additions to the installer script