change web framework from wsgi to cgi