allow override of srcDir in config