Maybe add documentation for the regenerate param