make sure ES exists when we need it
remove stale directory.  fixes #42