Using system.db.refresh() to update connection to a global script

When you import a project script, it'll bring a copy of the Python code into the local script as it was at the time of import, which can cause all kinds of fun: