Added the script and updated the README with usage details.