Add a persistent dirstack