Add -m option to set monitor output directory.