added postinstall hook