Make example work out of the box

Unfortunately this makes configuration somewhat more complex, though I think
this is worth it.