add listhistory command