modified source code
add config file: