The script was successfully rerun after all recent maintenance had been completed, which involved a rename and reboot. Subsequently, the script ran without any issues or errors.