added dir bookmarking functionality