Improving status report, changing to rsync by adding function publish for output.