Changed to select based on parameters in date-period drop downs