unified scripting codebase
tidy