switches to print from stdout