add sync repo script