replaced the fixed path of config.json to relative path of config.json