Tested with OSX, works

Use config.yml instead of array
Little bit code beautification