sync master script