Fixed deletion of index
Changed script to allow elastic time to spin up