Major update of NGS pipeline script.