adding sync script
Fixing highlight bug