Updated to include background normalisation and rainbow-delimiters support