automatically detect new directories