updated qcd xcheck script