add control of config file