Improve iterm install script

* Ensure the script is not run from iterm
* Ensure iterm doesn't load cached preferences