adding PubWithPublishSettings