Added 'refresh' command, stat printing