Send logs to the remote host via UDP + sample scripts improvements