Sepatating pre script. Histogram matching normalizer added.