We have a custom script that we use for capturing temperature data from a data acquisition system. For each temperature sensor we use the same custom script and just modify the script arguments to point to the correct sensor. Occasionally we make some improvements to this script and I find myself having to go in and update that same script over and over for each sensor.
Is there a better way to do this so that they all just point to one "shared" script so I would only need to make one update since the only thing that is different for each component is the script arguments, name and threshold?