new settingsfile and some other changes.