Change use of print() to cat()