Changing wsgi to work the new way