Removed the install thingy, added a loader for mat.res, because it was missing.