Add option for max downloads.