remove unneeded functions from config.sh