add more stuff to the history sampling script