@jmariani thanks for your script, I changed it i bit to better reflect
the flag comparison. I now dont have any issues for first or second run.
...disableNotifcationMojave(){for index in $(seq 0 $count); do #Getting
each bundle id with PlistBuddy bun...