Argon One RPi 4 Case Script

Would like to incorporate the script for the Argon One case for the Raspberry Pi 4. The script activates the fan which is speed controllable by temperature as well as including power button functionality.
More info can be found here: https://www.raspberrypi.org/forums/viewtopic.php?t=266101

This seems to be a duplicate of Support for Argon1 Raspberry case