minor updates in base.sh