some changes

added settingsfile support to settings