update scripts for ec2