added script to only dump current ips in the database