removed hg alias
rewrote hg as function to reverse output