adding the script, a test file and updating README.me