handle config.sh, export config.sh vars