add command; modify xml file