add config as dep