update to publish.ps1