Adapt examples to new configuration format