broke metrics into seperate file. Save output