Added analytics output generation.
Fix