Miscellaneous config.sh improvements.