Add option to read config.php for baseDir