add messages to plugin