Adding publisher to run on python 2.x