scripts to query DBS3 and Eric's CouchDB to check progress of workflows