First commit of analyze-and-report script