Configuration, yay!
(thanks to pahimar for helpful code examples)