I don't think we need to distinguish print statements for dry run - can just move the print above and then dry run does nothing.