unused Data::Dumper
use a single lock script for both ways of copying
documentation