Update print statements to use print()