Proactively replaces broken s0x servers with s00/s01/s03/s04 (load balanced) and fixes failures.
Here is the updated script.
It now does two things:
Proactive Replacement: It immediately finds any image NOT on your safe list (s00, s01, s03, s04) and replaces it, distributing the load evenly across the 4 working servers.
Reactive Repair: It keeps the error listener. If one of the "good" servers happens to fail for a specific image, it will instantly rotate to the next one.