improved version of ip spam blacklist checker script