altered the elastic search rake task