adding the ability to load configuration from ec2 metadata