add rsync static files hooks