Cleaned up, trying out inventories.getConfig()