Added settings file support