working version : PAT2CAT_cfg.py should be used.