Updated settings and wsgi script