Updated EC2 script to master