Fix for issues with rsync