Removed references to config.rootDirectory