Replace puts for prints