improve dependency install script