s3-printing: only include printing where really needed.