Updated postinst script