Fixed minor bug in ec2 setup script