Add matchdir
Reduce tolerance