modify config file format