new configure script; update es params for aws; update appspec to run configure script