keep inventory in scripts