added --download to save xml config file from device during scan