Added database code to add_from_google_docs.pl.