New directory style and detection method