Create prescript event and action
Insert prescript with properties