Added use of ec2 tools to get instance name.