add a script to sync files using rsync