scripts: add couchdb.check