Updated the config paths

and used getStoreConfigFlag to get the bool instead of typecasting it manually.
Merge pull request #1 from paales/patch-1

Updated the config paths
Max version updated