ElasticSearch related scripts