Added better reporting
Added alternate implementation with no dependency on a java agent (thanks Fred !)