add reading from settings file