Add "histories" command