I gang

Modifications to CMS script