[modify.pl] switch away from smart match and given
[modify.pl] remove temp. and lock files when "not doing anything"