Added -m and minor changes.

Added -m flag, removed unnecessary parameter bIsPM and fixed 'New %s'.