update reader.rb to send debug/stats params.