Sets up setting