ZVISION: Refactoring script manager, massive changes.