adds ews support with cgi