Made CGI script actually work.