Config loaded into global array. Fixes #4