an other attempt to get this working with wsgi