Ok, Server location changed. Apparently, “config” has an “i” in it. :S
The script kind of worked. Only some users’ settings got changed, and most of the links to conversations did not get updated. It’s probably useful as a template for a script rather than the script itself.