minor fixes to installer
rewrite