xml libary in modebase script