add history related env