     "regex-replace":
       dist:
         src:
-          ["src/bugsnag.js"]
+          ["src/bugsnag.js", "README.md"]
         actions: [
           name: "version"
           search: /var NOTIFIER_VERSION =[^;]*;/
           replace: "var NOTIFIER_VERSION = \"#{require("./package.json").version}\";"
+        ,
+          name: "readme"
+          search: /cloudfront.net\/bugsnag-[0-9\.]+.min.js/
+          replace: "cloudfront.net/bugsnag-#{require("./package.json").version}.min.js"
         ]
 
     # Minification

  grunt.registerTask "test", ["jshint", "connect:test", "watch:test"]

  # Default meta-task
  grunt.registerTask "default", ["jshint", "regex-replace", "uglify", "docco"]

            done(!error?)

  # Release meta-task
  grunt.registerTask "release", ["jshint", "uglify", "docco", "git-tag", "s3"]

  # Run a webserver for testing
  grunt.registerTask "server", ["connect:server:keepalive"]
