add prerm script