Added past days setting, not used for now