Add rainbow stuff, set encodings.