v3, added .replace; removed .dump and .inventory