add stats command and better progress indication