script that reacts when volume thresholds are met