Remove dependancy of local script from publish.sh