add inventory query options
14 files changed