Scripts that help with Elasticsearch