made repeat-every flag configurable