Added the config stuff to a function, so it could be reused
if the user did not like the current config.
Merge pull request #4 from hooger/master

Reusable Configuration Selector