updated ref and install script