pre/post script added