adding MongoDB to Elastic Search index script