Implemented debugging flags
Fixed parse_iplist function