Updated sync.sh to include a back of prefs file