Changed Console.WriteLine to MessageBox