Add script for sync local repository