Moved guide PDF generation to a FlowTask.