Nobody has addressed the OPs questions about resuming the print.
The "Disarm Timeout" has nothing to do with pausing the print and inserting a part. It is a way to turn off the steppers and should never be used unless the print is unattended for days...
There is no automated resume setting in this script ant the print must be manually restarted.
When I attempted this, the print stopped and never resumed because I do not have a screen item to touch for resume. Luckily, I was able to pull the SD card and delete all the gcode prior to the pause and it worked! I, too want to know what to add to the script to automate the resume after a predetermined pause time!