adding support for settings.json file.