modified control, postinst and postrm