Create a proper custom group, and place the vars and mode in it
Merge pull request #2 from purcell/master

Provide a custom group and vars for the mode