Update: add support for settings (fixes #9)