updated settings.py to be friendly