Updated readme and fixed bug

Added example to readme and fixed a bug with encoding unicode characters
in the script itself