add postinstall script for component