Set settings correctly.