replacing cm with options.cm