fix script for fetching default ec2 ami images