Updated sync program to support automatic updates using netsparkle library