Added comments publish function