Change variable pattern_replace_tor
Added comment on function
Merge remote-tracking branch 'origin/master'