Fixed/configured rsync publish function