Added CGI interface