update base.sh postinstall script