Made settings a dictionary