Support number and detect invalid types in if conditions
Fix typo
Log all dir creation