modify app dir creation