edits made for wsgi