Fix misprint in 'threshold' term
Add setting contact threshold in task config file