Added demo code with a CGI script