Attempt at making the config stuff actually work.