updated scripts to support new ec2 returns