add change metrics and output csv