script to replicate from a local couch to a remote one