changed output redirect