Added refresh feature and print summaries function (not used yet)