Made the config system automatic.