added rsync support