Added preprocessing script for E,H,S