Improve postinstall