Adding a try/except for config.py