redirect all output of print* functions

using an argument proved to be the wrong thing to do