Rewriting install script