added hooks registration in PRE, IN and OUT