Making check_tftp.pl better