added install event handlers