added script for deleting records in couchdb