static void Main()
{
var exitCode = VerifyArgumentsAndRun();
if (Debugger.IsAttached)
{
Console.ReadKey();
}
if (exitCode != 0)
{
// Dump log to console if we fail to complete successfully
Console.Write(log.ToString());
}
Environment.Exit(exitCode);
}