Make ES config more configurable