changed settings and wsgi