change web framework from wsgi to basic cgi