Refactory code to remove network_support option in scan_list.