Set correct path for appdir