Python CGI script that generates Mad Libs