Move sourceDirectories to config time