added ChangeLog entry for saturate-by-median; cleaned up script a bit