Added smarter install script.