ENH Update to newer settings format

This was reported as issue #2 on github
BUG Fix bug in template

Closes #2