ec2 script