elasticsearch run script.