script used by ERC to send desktop notifications