updated to wait for log files to become unlocked before continuing
Merge branch 'master' of https://github.com/AlexFielder/BlockReplace.git