add and use confval directive, fill index