made osx install script a lot better