factor HQStatus out + hq-status tool