add pre processing script