Set settings.