tie script to version number

need to specify an expiration to cache
Merge pull request #2717 from ten24/feature-rm-clientcachine

tie script to version number