Only the first occurrence was being repalced bug

Where an url(x) is used more than once in a css file, only the first occurrence was actually being replaced.