Decouple remote post-sync hook and build_all_from_hours script