making wsgi work