alter materials.yml and support for mime types