I'm running Monterey 12.2 and this fix worked for me. Thanks @Acidham, for making this script, I find it very useful! You could probably even update the compatibility matrix on Packal as I can confirm it works in every version up through Monterey, and maybe add the fix in the Usage section for people downloading it the first time so they're not scratching their heads as to why it's not working.