Fixed problem with config.json loading and config.