Made settings work.