Make couchbase scripts mostly re-runnable