updated check_zookeeper.pl