overhaul for tabular output and .net 4.5+ versions