add a helper script for getting ec2 metadata