updated scrips, especially inventory class