private static string config(string @default = null, [CallerMemberName] string key = null)
{
var value = System.Environment.GetEnvironmentVariable(key) ?? ConfigurationManager.AppSettings[key];
return string.IsNullOrEmpty(value)
? @default
: value;
}