added code to sync selective directories .