fixed install script order