Updated xval and batch scripts.