allow adjustment of host name order for ec2 instances
fix merge