Correct directory behaviour and syntax