Made publishing repo. optional