added app directory method to support git deployments
adds appdir for git deployment support