Added config.json file support