fix up run-pipes.sh to read important paths from config.json [ci skip]