Improving valve by adding configuration file.