add sample sync script
fix some settings