Add matches material, script

Also remove a duplicate inventory.contains block
also comment out dead code