Implemented writing Kitty totals out