Add dir creation when standalone