added R script to dump statistics in xlsx