moved rsync_to command from bash to exec