updated postinst scripts