Revert "modify app dir creation"

This reverts commit 5cc6fed0f6634df741e1a5165dbf287cf2e79e21.