Changed the config to a JSON file