set local settings