Fixed bug relating to  rsync return status in script example script.