Edited the wsgi middleware file