inventory mode now is driven by config and LoadConfig now creates the directory if it doesn't already exist