$MI_HOME environment variable must be set.