added config.dir property