sync script