How can the App determine what directory it is in? Is this possible?