Added -refresh feature to report script