Added back xptemplates settings