allow set app dir