Refinements to comparison scripts