Added appId to checkPermission.sh