adding publish plugin