modify event preprocessing in script 3