add conf support