add postinstall method