scripts to create an index on elasticsearch