setting the wsgi flag