DRY up config.sh a little.