Quickly hacked together script to add a row to the inventory table
You can also try these related scripts: