check for app directory on startup