absolute path variable for the bat-hosts file in battool.h
The HOSTS_FILE definition ins battol.h
(#define HOSTS_FILE "bat-hosts")
should point to an absolute path of the file. Elsewise battool will look for the bat-hosts file always in the current directory.
possible change of the line:
#define HOSTS_FILE "/etc/bat-hosts"