converted audit to console application