add support for local settings