fix execution on postinstall