Added regenerateBackground setting