renamed variable check from location to settings
Merge pull request #7 from fdammeke/master

"renamed variable check from location to settings"