Implementation to detect a local inventory/vars structure, and use it vs. the one supplied in buri. For #51