add pre-processing script