change config file generate type