filtering and comparison scripts updated.