Updates to the add_to_whatcounts.pl script; better logic for sending one-off messages