add history file support option via option use_history