Add script for auto sync