Just paste in your macro config file and replace M140 line in your start_print macro with PRINTBED_AUTO_DELAY BED_TEMP={bed_targer_temp}. You may have to spell check bed_target_temp if you've corrected your other macros.
The author remixed this model.
I removed the formula for adapting the heat soak based on inputted temp. Now it checks if its over or under 90C and sets the max heat soak based on that. I've got very short times set by default. 10min for 90C+ and 5min for anything under it. I kept the warm and hot bed feature from the original creator. Great script just didn't work for our use case. Impatient. lol.