Add in a working directory history save/load function