added hgrc hook