buils script to use XML formatting