Use simpler algorithm for sync script to find sources