updated postinstall script