reads settings