adding sync script