TWIN: Implement more scripting