Some wsgi and setting changes for production