Updated config.py to handle situations where config.json is missing