Fixed issue when config.json didn't exist