make config with xmlstarlet and update script