updated synch to work with empty home dirs