Updating logging code and adding of .bat file for backuprestore script.