config file now is a json file