Fixed bug where if config.json didn't exist it would not run