customised mm_cfg.py