Fixed escaped slashes support in rainbows script.
Fixed rainbows script not checking that flags is a String.