Refactoring install script.