Replace postinstall script