adding sync.sh
Merge remote-tracking branch 'upstream/master'