new wsgi support for main execution