Get the script version and publish in the ws