making progress with mac based comparison in update_ipt.pl