fix ordering of config

a config dictated by a flag should go first
#66
Merge pull request #74 from metridoc/fix-config-ordering

fix ordering of config