switch to minil and fixup metafiles