fixed maxcount setting when options and end date are both used
fixed test data
include perl version in diagnostics
upped version