Tweaks to publishing script