set up print to console