access via settings.key

I updated the code to access the first level of the hash via settings.key