fixed sed regexp to replace to the right Elasticsearch path