Modifying Intensity corrector and rearranging scripts.