added pass/fail counts and a lot of log information