update ec2 scripts for IPs