add config supporting