Scripts loaded with user_script_load() can no longer use local objects without importing it
Previously scripts loaded with user_script_load() could use objects defined in the current scope without importing it (like using 'current_session' without importing it). They could even use objects defined in previously loaded scripts.
Since !4801 (merged), user scripts are loaded as python modules and should therefore import everything they use. While it is a more standard way of running scripts, it breaks previous scripts on beamlines.
A solution is to add missing 'import' statements in every scripts, but it can't solve scripts depending on other scripts.