Check for sortm and mhpath.
Support processing more than one folder.