Updating publish shell script