Full automatizaion of the CMS options