add help message, add options, separate cmsrel and cmsenv