Fix setttings.py to work with local servers