emit a message for other scripts