fixed ec2 prep script