Publication function to selectively select what we're publishing