Making sure settings only load when needed