Modified the client script to run with AWS