Added elasticsearch.
Maybe this will work better
fix up the script so that it actually installs java and is slightly more efficent