integrated hstory into cgr-engine command