respect generating flag if present