Updated code that handles config key
Updated README.md