need to run the inventory function in the database for it to do anything
Merge pull request #696 from shackbarth/invfix

need to run the inventory function in the database for it to do anything