Added script for inventory database