Fixed syntax error in encoding. Updated Readme with usage instructions.