simplifies settings.
Merge pull request #4 from birkin/master

simplifies settings.