add pre-process script