add  "-cct" option to generate a CCT file