Take settings hash as argument