add settings

Fixes #1