working on event post script