Fixing up settings.py