fixed the way the default config gets written out. fixes #6
Merge branch 'master' into dev