added show_dir_link option