Tweaked flock1.bash