store material slots in media.cfg