adding very basic cgi to dump blocks from a sqlite database