sets config as a dep