Modifying preinst and prerm