Inventory Material PNGs - fixed script

Fixed a bug in the script to execute from the right directory