Added publish profiles and subscriptions