minor changes to ec2 scripts