modified config file
modified npc refreash function