improved install script.
Dialyzing the hell out of it.
Merge branch 'test' into dev
merge.