Port cms command to core