support defining path to config