New code to enable and disable publishers