Fixed bugs in evaluation scripts.