Changed how configs are loaded

This is a bit more sane.