updated ec2 boot script