updated defaultSettings to include more if...fi constructs