update init script to handle ipv6 tables properly