Add dir_history