Passing in baseDir as a config param