uses knowledge of current dir to pick app dir