Adding publisher saving. Not working yet. Still have to debug it.