Update example to use configuration files