init show_dreictories in XS, better test coverage