Made ES configurable by conf and init files.