Rewrite color IDs script so it actually works