added script to modify the config files, it is powerful, use with care!