Final tweaks to pipeline script.