Add options to eval scripts for batch evaluation. Fix bug in which state is not a tuple.