adding elastic search script