updated mcolor to allow spaces as input separator