Replace print to echo