Fixed metrics Export functionality