Fixed crash when config.json doesnt exist