gen_setup_cfg
