The for loop is very time intensive with vast list. ipset-restore syntax is now used to speed up process.