postinstall script fixed