visualization script updated