add config file to replace hard code
fix issue
add config file