Added 'Execute on new message' functionality