script for sab to rsync and process on remote host