adding var as global
need to fix the clone command
Fixed clone, now its sync