Using Python/CGI to insert into database