Made a lil' publish function to hand off to the pubClient instead of having the user do it on the outside