Add groovy script for query couchbase