add command to tidy xml