begin modescriptcallbacks xml