master xml making script