adding per directory history