make object_in_hc deal with hc objects
allow changing root path