split things up to figure what was causing AMI creation issue