don't initialize es client each time
allow passing index as flag