updated volume script to utilize median for each fac from 1998-2006