what does "doesn't work" mean in this case?
I'm not quite sure why you need the highlight if you're already doing the nick colouring via script. highlight is *only* meant to highlight *the whole line*, not just a part of it-- so if you don't want the whole line to highlight, don't use alt-b -> highlight.