Fix collection name used for items data type (see #171)
Pass Elasticsearch server and cluster into main script (see #171)