Setup advanced history