Worked out some history file kinks