Adding event management scripts