change pre-get config to a function
Merge branch 'master' of github.com:magus0219/unicorn